import { Injectable, NestMiddleware,Request,Response } from '@nestjs/common';

@Injectable()
export class LogMiddleware implements NestMiddleware {
  use(req: Request, res: Response, next: () => void) {
    console.log('nest中的中间件执行');
    next();
  }
}
